# 加油！杨思钦！
# 沉下心来慢慢琢磨，你是最棒的！

import requests

# 长传文件

url = "http://httpbin.org/post"
with open("api_login.py") as f:
    response = requests.post(url=url, files={"myfile": f})
    print(response.text)
# data = {"msg": "200"}
# header = {"sqyang": "123"}
# response = requests.get(url=url, params=data, headers=header)
# print(response.text)
